#
# Makefile for wrapper
#

CXX = g++
CXXFLAGS = -ansi -Wall -g
EXECS = mcwrapper
OBJS = server.o

all: $(EXECS)

mcwrapper: mcwrapper.cpp server.h $(OBJS)
	$(CXX) $(CXXFLAGS) -o mcwrapper mcwrapper.cpp $(OBJS)

server.o: server.cpp server.h
	$(CXX) $(CXXFLAGS) -c -o server.o server.cpp

clean:
	rm $(OBJS) $(EXECS)